import {Platform, StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  list: {
    paddingHorizontal: px2dp(24),
    flex: 1,
    flexDirection: 'row',
    alignItems: 'center',
    marginVertical: px2dp(12),
  },
  cover: {
    width: px2dp(171),
    height: px2dp(189),
    borderRadius: px2dp(4),
    marginRight: px2dp(15),
  },
  content: {
    flex: 1,
    height: px2dp(189),
    justifyContent: 'space-between',
  },
  name: {
    fontSize: px2dp(30),
    color: '#333333',
    fontWeight: 'bold',
  },
  star: {
    flexDirection: 'row',
    alignItems: 'center',
    marginTop: px2dp(10),
  },
  icon: {
    width: px2dp(22),
    height: px2dp(22),
    marginRight: px2dp(11),
  },
  desc: {
    fontSize: px2dp(22),
    color: '#999999',
    lineHeight: px2dp(30),
  },
  desc_mark: {
    color: '#333',
  },
  webview_cls: {
    backgroundColor: '#fff',
  },
});

export default styles;
